<template>
    <view class="wrap">
        <view class="video-wrap">
            <video
                class="video"
                :controls="true"
                src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4"
            ></video>
        </view>
        <view class="content">
            <view class="title">兼顾城配和干线运输，如何...</view>
            <view class="time">2021.12.12 15:38</view>
        </view>
    </view>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.wrap {
    width: 100%;
    height: 384upx;
    border-radius: 12px;
    background: #fff;
}
.video-wrap {
    width: 100%;
    height: 300upx;
    .video {
        width: 100%;
        height: 100%;
        border-radius: 12upx;
    }
}
.content {
    padding: 20upx;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.title {
    width: 368upx;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 28upx;
    font-weight: bold;
    color: #131313;
}
.time {
    flex-shrink: 0;
    font-size: 20upx;
    font-weight: bold;
    color: #333333;
}
</style>